package com.example.service;

import com.example.pojo.Customer;

import java.util.List;

public interface ICustomerService {
    List<Customer> finAll();

    public int saveCustomer(Customer customer);

    public int deleteCustomerById(int id);

    //根据id查询cos
    public Customer findById(int id);

    //修改
    public int updateCustomerById(Customer customer);

//    模糊查询
    public  List<Customer> findByLikeName(String name);
}
